home *** CD-ROM | disk | FTP | other *** search
/ Mac Magazin/MacEasy 12 / Mac Magazin and MacEasy Magazine CD - Issue 12.iso / Sharewarebibliothek / Systemsachen / Kontrollfelder / 3D Buttons ƒ / 3D Buttons / 3D Buttons.rsrc / TEXT_-4048.txt < prev    next >
Text File  |  1995-06-18  |  2KB  |  38 lines

  1. About 3D Buttons‚Ķ
  2.  
  3. This control panel substitutes custom ‚Äú3D Buttons‚Äù for standard push buttons, radio buttons and checkboxes.
  4.  
  5. In color windows or dialogs, the buttons have a subtle ‚Äú3D‚Äù look.  In non-color windows, the buttons have a normal ‚Äú2D‚Äù appearance, exactly the same as the standard control.
  6.  
  7. Please note that not all applications create color windows, so some windows or dialogs may not display ‚Äú3D Buttons‚Äù (Adding 'dctb' resources for your dialogs will result in color dialogs).
  8.  
  9. The push button variation has the same oval shape as a standard 20x60 button and works correctly with default button outlining.  The check box uses a ‚Äúreal‚Äù check mark rather than an ‚ÄúX‚Äù and the radio button has a ‚Äúdomed‚Äù appearance.
  10.  
  11. The ‚ÄúOn‚Äù and ‚ÄúOff‚Äù radio buttons turn the button substitution on and off.  This takes effect immediately.
  12.  
  13. The ‚ÄúGray button‚Äù checkbox substitutes a push button that is always light gray in color.  If this is left unchecked, push buttons will take their body color from an associated 'cctb' (Control Color Table) resource, or default to the System's 'cctb' colors (which are black & white).  On a non-white background, the check box and radio buttons are drawn with an ‚ÄúEmbossed‚Äù title.
  14.  
  15. The checkboxes for ‚ÄúShow Icon at Startup‚Äù and ‚ÄúInstall at Startup‚Äù control the startup process (obviously).  Holding the capsLock key down at startup will bypass installation.
  16.  
  17. System 6.0.7 or better is required.
  18.  
  19. Jim Stout
  20. June 1995
  21.  
  22. Please report problems to:
  23. AOL : JasG
  24. eWorld : Jim Stout
  25. CompuServe  : 73240,2052
  26. Internet : Jims@wrq.com
  27.  
  28. For the technically inclined, this control patches 2 traps : 
  29.  
  30. _GetResource (a FAT patch on Power Macintosh) , to substitute CDEF ID=1107 for ID=0 
  31.  
  32. _InitAllPacks, to open the Control Panel resource file.  
  33.  
  34. Any CDEF ID=0 replacement should work if you paste it into this control panel as ID=1107.  The gray button is ID=2107.
  35.  
  36. Written with Think C 7.0.4 and Symantec C 8.0.1.
  37.  
  38. Thanks to Dave Mark, Fran√ßois Pottier, Ken Worley, Keith Rollin and others who posted code that served as a starting point for this Control Panel.